From 37e4ae2fbd87b0c6880e800854dc8b9b7eff51a2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 19 Jul 2018 17:31:20 -0400 Subject: [PATCH] Quiet a compiler warning We don't need to handle GDK_CONFIGURE here, so make the compiler not warn about it. --- gtk/gtkmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index d92523a90d..3732857ab7 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -1796,7 +1796,7 @@ gtk_main_do_event (GdkEvent *event) * Drag events are also not redirected, since it isn't * clear what the semantics of that would be. */ - switch (event->any.type) + switch ((guint)event->any.type) { case GDK_NOTHING: break; -- 2.30.2